<?php
declare (strict_types = 1);

namespace app\api\controller;

use app\api\model\UserModel;
use think\Request;

class UserController
{
    public static function show(){
        $data=UserModel::select();
        $arr['code']=0;
        $arr['msg']='成功';
        $arr['count']=count($data);
        $arr['data']=$data;
        return json($arr);
    }
}
